/*
Katherine Farrow	
Title: Does Misery Love Company?: Exploration of a Strategic Intervention to Improve Well-being

HYPOTHESES

Stated-Hyp1: Providing social information in the negative scenario will reduce levels of disappointment

	Test-Hyp1: Providing social information in the negative scenario will reduce levels of disappointment
 
	
Stated-Hyp2: Providing social information in the positive scenario may reduce 
satisfaction levels.
	
	Test-Hyp2: Providing social information in the positive scenario may reduce 
satisfaction levels.
	
*/

clear all
use FarrowS6.dta, clear

********************************************************************************

* CONSTRUCT INDICATORS OF EXPERIMENTAL MANIPULATIONS

	* negative or positive scenario
		tab scene, mis
		gen positive=1 if scene==3|scene==4
		gen negative=1 if scene==1|scene==2
		
		tab positive negative, mis
		
	* social information provided
		gen socialinfo=1 if scene==2|scene==4
		replace socialinfo=0 if scene==1|scene==3
		tab socialinfo, mis
	
* CONSTRUCT OUTCOME MEASURES

	* disappointment (negative scenario)
		clonevar disappointment=S1 if scene==1
		replace disappointment=S2 if scene==2
		tab disappointment
		replace disappointment=. if disappointment==98
		tab disappointment, mis

	* satisfaction (positive scenario)
		clonevar satisfaction=S3 if scene==3
		replace satisfaction=S4 if scene==4
		tab satisfaction
		replace satisfaction=. if satisfaction==98
		tab satisfaction, mis
	

********************************************************************************

* TEST HYPOTHESIS 
	

*Test-Hyp1: Providing social information in the negative scenario will reduce levels of disappointment
	reg disappointment i.socialinfo if negative==1
		// reject
	tess 1.socialinfo -, init(FarrowS6) 

*Test-Hyp2: Providing social information in the positive scenario may reduce satisfaction levels.
	reg satisfaction i.socialinfo if positive==1
		// reject
	tess 1.socialinfo -
